[INFO] fetching crate mold2d 0.0.2...
[INFO] testing mold2d-0.0.2 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate mold2d 0.0.2 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate mold2d 0.0.2
[INFO] finished tweaking crates.io crate mold2d 0.0.2
[INFO] tweaked toml for crates.io crate mold2d 0.0.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mold2d 0.0.2 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 26 packages to latest compatible versions
[INFO] [stderr]       Adding sdl2 v0.9.1 (available: v0.38.0)
[INFO] [stderr]       Adding sdl2_image v0.3.0 (available: v0.25.0)
[INFO] [stderr]       Adding sdl2_ttf v0.9.1 (available: v0.25.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c36dd937158bf3dae37c1922e35a0b73b09c8f298a7bf869dbbba866e852cb8
[INFO] running `Command { std: "docker" "start" "-a" "3c36dd937158bf3dae37c1922e35a0b73b09c8f298a7bf869dbbba866e852cb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c36dd937158bf3dae37c1922e35a0b73b09c8f298a7bf869dbbba866e852cb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c36dd937158bf3dae37c1922e35a0b73b09c8f298a7bf869dbbba866e852cb8", kill_on_drop: false }`
[INFO] [stdout] 3c36dd937158bf3dae37c1922e35a0b73b09c8f298a7bf869dbbba866e852cb8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d56da8fe635c79297b225a06706e13b550e239bb98af0a27a280d7213aa1580
[INFO] running `Command { std: "docker" "start" "-a" "8d56da8fe635c79297b225a06706e13b550e239bb98af0a27a280d7213aa1580", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling num-bigint v0.1.45
[INFO] [stderr]    Compiling num-rational v0.1.43
[INFO] [stderr]    Compiling num-complex v0.1.44
[INFO] [stderr]    Compiling sdl2-sys v0.6.2
[INFO] [stderr]    Compiling libc v0.1.12
[INFO] [stderr]    Compiling bitflags v0.3.3
[INFO] [stderr]    Compiling bitflags v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num v0.1.43
[INFO] [stderr]    Compiling sdl2 v0.9.1
[INFO] [stderr]    Compiling sdl2_image v0.3.0
[INFO] [stderr]    Compiling sdl2_ttf v0.9.1
[INFO] [stderr]    Compiling mold2d v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let sdl_context = try!(sdl2::init());
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let video = try!(sdl_context.video());
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut timer = try!(sdl_context.timer());
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let sdl_window = try!(video.window(window.title, window.width, window.height)
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let sdl_renderer = try!(sdl_window.renderer().accelerated().build());
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:27:53
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...                   Events::new(try!(sdl_context.event_pump()), ""),
[INFO] [stdout]    |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 let surface = try!(font.render(text, sdl2_ttf::blended(color)));
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 let texture = try!(renderer.create_texture_from_surface(&surface));
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let font = try!(Font::from_file(Path::new(font_path), size));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:37:23
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let surface = try!(font.render(text, sdl2_ttf::blended(color)));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let texture = try!(renderer.create_texture_from_surface(&surface));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/level.rs:31:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |             for token in try!(line).chars() {
[INFO] [stdout]    |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]  --> src/cache.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, Mutex, ONCE_INIT, Once};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 17 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 42 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 42 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor_manager.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 |   pub type ActorFromToken<Type, Message> = Box<Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |  ______________________________________________^
[INFO] [stdout] 7 | |                                                 -> Box<Actor<Type, Message>>>;
[INFO] [stdout]   | |____________________________________________________________________________^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor_manager.rs:7:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...                   -> Box<Actor<Type, Message>>>;
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |                                                 -> Box<dyn Actor<Type, Message>>>;
[INFO] [stdout]   |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<Actor<Type, Message>>>,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<dyn Actor<Type, Message>>>,
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<View>),
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<dyn View>),
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:46:58
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<dyn Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<dyn Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<dyn Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/event_loop/mod.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<View>
[INFO] [stdout]    |                                      ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<dyn View>
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |   pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |                                                 &mut ActorManager<Type, Message>,
[INFO] [stdout] 58 | |                                                 &mut Viewport,
[INFO] [stdout] 59 | |                                                 &mut Context,
[INFO] [stdout] 60 | |                                                 &Message)>;
[INFO] [stdout]    | |_________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:58
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<dyn Actor<Type, Message>>,
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_frame_delay` and `set_fps` are never used
[INFO] [stdout]    --> src/sprite.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl AnimatedSprite {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn set_frame_delay(&mut self, frame_delay: f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn set_fps(&mut self, fps: f64) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/events/keyboard_mappings.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let action = token.clone().to_owned();
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.43s
[INFO] running `Command { std: "docker" "inspect" "8d56da8fe635c79297b225a06706e13b550e239bb98af0a27a280d7213aa1580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d56da8fe635c79297b225a06706e13b550e239bb98af0a27a280d7213aa1580", kill_on_drop: false }`
[INFO] [stdout] 8d56da8fe635c79297b225a06706e13b550e239bb98af0a27a280d7213aa1580
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c04ffab6962f675942a9217e50ddb6d1b7050bbf4c20a8e573ebcc8eda2270e
[INFO] running `Command { std: "docker" "start" "-a" "5c04ffab6962f675942a9217e50ddb6d1b7050bbf4c20a8e573ebcc8eda2270e", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let sdl_context = try!(sdl2::init());
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let video = try!(sdl_context.video());
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut timer = try!(sdl_context.timer());
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let sdl_window = try!(video.window(window.title, window.width, window.height)
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let sdl_renderer = try!(sdl_window.renderer().accelerated().build());
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:27:53
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...                   Events::new(try!(sdl_context.event_pump()), ""),
[INFO] [stdout]    |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 let surface = try!(font.render(text, sdl2_ttf::blended(color)));
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 let texture = try!(renderer.create_texture_from_surface(&surface));
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let font = try!(Font::from_file(Path::new(font_path), size));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:37:23
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let surface = try!(font.render(text, sdl2_ttf::blended(color)));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let texture = try!(renderer.create_texture_from_surface(&surface));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/level.rs:31:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |             for token in try!(line).chars() {
[INFO] [stdout]    |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]  --> src/cache.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, Mutex, ONCE_INIT, Once};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 17 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 42 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 42 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor_manager.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 |   pub type ActorFromToken<Type, Message> = Box<Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |  ______________________________________________^
[INFO] [stdout] 7 | |                                                 -> Box<Actor<Type, Message>>>;
[INFO] [stdout]   | |____________________________________________________________________________^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor_manager.rs:7:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...                   -> Box<Actor<Type, Message>>>;
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |                                                 -> Box<dyn Actor<Type, Message>>>;
[INFO] [stdout]   |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<Actor<Type, Message>>>,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<dyn Actor<Type, Message>>>,
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<View>),
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<dyn View>),
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:46:58
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<dyn Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<dyn Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<dyn Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/event_loop/mod.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<View>
[INFO] [stdout]    |                                      ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<dyn View>
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |   pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |                                                 &mut ActorManager<Type, Message>,
[INFO] [stdout] 58 | |                                                 &mut Viewport,
[INFO] [stdout] 59 | |                                                 &mut Context,
[INFO] [stdout] 60 | |                                                 &Message)>;
[INFO] [stdout]    | |_________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:58
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<dyn Actor<Type, Message>>,
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mold2d v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `set_frame_delay` and `set_fps` are never used
[INFO] [stdout]    --> src/sprite.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl AnimatedSprite {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn set_frame_delay(&mut self, frame_delay: f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn set_fps(&mut self, fps: f64) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/events/keyboard_mappings.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let action = token.clone().to_owned();
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let sdl_context = try!(sdl2::init());
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let video = try!(sdl_context.video());
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut timer = try!(sdl_context.timer());
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let sdl_window = try!(video.window(window.title, window.width, window.height)
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let sdl_renderer = try!(sdl_window.renderer().accelerated().build());
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop/mod.rs:27:53
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...                   Events::new(try!(sdl_context.event_pump()), ""),
[INFO] [stdout]    |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 let surface = try!(font.render(text, sdl2_ttf::blended(color)));
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 let texture = try!(renderer.create_texture_from_surface(&surface));
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let font = try!(Font::from_file(Path::new(font_path), size));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:37:23
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let surface = try!(font.render(text, sdl2_ttf::blended(color)));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/font.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let texture = try!(renderer.create_texture_from_surface(&surface));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/level.rs:31:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |             for token in try!(line).chars() {
[INFO] [stdout]    |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]  --> src/cache.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, Mutex, ONCE_INIT, Once};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 17 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/cache.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |     static ONCE: Once = ONCE_INIT;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 42 -     static ONCE: Once = ONCE_INIT;
[INFO] [stdout] 42 +     static ONCE: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor_manager.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 |   pub type ActorFromToken<Type, Message> = Box<Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |  ______________________________________________^
[INFO] [stdout] 7 | |                                                 -> Box<Actor<Type, Message>>>;
[INFO] [stdout]   | |____________________________________________________________________________^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type ActorFromToken<Type, Message> = Box<dyn Fn(char, i32, (i32, i32), &mut Renderer)
[INFO] [stdout]   |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/actor_manager.rs:7:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...                   -> Box<Actor<Type, Message>>>;
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |                                                 -> Box<dyn Actor<Type, Message>>>;
[INFO] [stdout]   |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<Actor<Type, Message>>>,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub actors: HashMap<i32, Box<dyn Actor<Type, Message>>>,
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<View>),
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ChangeView(Box<dyn View>),
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:46:58
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn temp_remove(&mut self, id: i32) -> Option<Box<dyn Actor<Type, Message>>> {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get_mut(&mut self, id: i32) -> Option<&mut Box<dyn Actor<Type, Message>>> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/actor_manager.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn temp_reinsert(&mut self, id: i32, actor: Box<dyn Actor<Type, Message>>) {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/event_loop/mod.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<View>
[INFO] [stdout]    |                                      ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     where F: Fn(&mut Context) -> Box<dyn View>
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |   pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |                                                 &mut ActorManager<Type, Message>,
[INFO] [stdout] 58 | |                                                 &mut Viewport,
[INFO] [stdout] 59 | |                                                 &mut Context,
[INFO] [stdout] 60 | |                                                 &Message)>;
[INFO] [stdout]    | |_________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:56:58
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<Actor<Type, Message>>,
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub type MessageHandler<Type, Message> = Box<Fn(&mut Box<dyn Actor<Type, Message>>,
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]    --> src/raycast.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let side = shorten_ray(&mut segment, &rect);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_frame_delay` and `set_fps` are never used
[INFO] [stdout]    --> src/sprite.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl AnimatedSprite {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn set_frame_delay(&mut self, frame_delay: f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn set_fps(&mut self, fps: f64) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/events/keyboard_mappings.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let action = token.clone().to_owned();
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcVw7Xgj/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libsdl2_ttf-0612ab2d9be7e58f,libbitflags-488ec14e55c1750a,libsdl2_image-382f8e92d262eaac,libsdl2-0dff4b45059fe0f1,librand-2979c20015a61017,libsdl2_sys-f53d034f7ce687de,libbitflags-2fa2dc27b08124d3,liblibc-4cf835816fce3144,libnum-2949c601e062aef4,libnum_rational-78d5c66e1dbb8efc,libnum_bigint-0fe551755b9b2a67,librand-88a9b94d43b54290,libnum_complex-55182e2b96acced7,librustc_serialize-1ab3403c1596faf4,libnum_iter-641f3fae0f73fda6,libnum_integer-5b6ac14ce642ff72,libnum_traits-8434f84c7e6b85f7,liblibc-f0d996076a85b3d5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lc" "-lm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcVw7Xgj/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mold2d-a004e76b1a7c5693" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lSDL2_ttf
[INFO] [stdout]           rust-lld: error: unable to find library -lSDL2_image
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mold2d` (lib test) due to 1 previous error; 28 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5c04ffab6962f675942a9217e50ddb6d1b7050bbf4c20a8e573ebcc8eda2270e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c04ffab6962f675942a9217e50ddb6d1b7050bbf4c20a8e573ebcc8eda2270e", kill_on_drop: false }`
[INFO] [stdout] 5c04ffab6962f675942a9217e50ddb6d1b7050bbf4c20a8e573ebcc8eda2270e
